import Vue from 'vue'
import Router from 'vue-router'
import WebGoods from 'components/goods/goods'
import WebRatings from 'components/ratings/ratings'
import WebSeller from 'components/seller/seller'
// import index from '../pages/index'

Vue.use(Router)

export default new Router({
  mode: 'history',
  linkActiveClass: 'router-link-active',
  routes: [
    // {
    //   path: '/',
    //   name: 'index',
    //   component: index
    // },
    {
      path: '/goods',
      name: 'WebGoods',
      component: WebGoods
    },
    {
      path: '/ratings',
      name: 'WebRatings',
      component: WebRatings
    },
    {
      path: '/seller',
      name: 'WebSeller',
      component: WebSeller
    }
  ]
})
